package cn.iocoder.yudao.module.system.controller.admin.productionplandetail.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 生产计划详情 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductionPlanDetailRespVO {

    @Schema(description = "生产计划详情数据id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24730")
    @ExcelProperty("生产计划详情数据id")
    private Integer id;

    @Schema(description = "生产计划id", example = "4255")
    @ExcelProperty("生产计划id")
    private Integer planId;

    @Schema(description = "客户编号", example = "23053")
    @ExcelProperty("客户编号")
    private String customerId;

    @Schema(description = "供方名称", example = "李四")
    @ExcelProperty("供方名称")
    private String supplierName;

    @Schema(description = "客户名称", example = "王五")
    @ExcelProperty("客户名称")
    private String customerName;

    @Schema(description = "产品名称", example = "李四")
    @ExcelProperty("产品名称")
    private String productName;

    @Schema(description = "规格型号")
    @ExcelProperty("规格型号")
    private String specification;

    @Schema(description = "适用挂具")
    @ExcelProperty("适用挂具")
    private String rack;

    @Schema(description = "挂具数量")
    @ExcelProperty("挂具数量")
    private Integer rackNumber;

    @Schema(description = "单挂数量")
    @ExcelProperty("单挂数量")
    private Integer singleHangingQuantity;

    @Schema(description = "分组")
    @ExcelProperty("分组")
    private String subgroup;


    @Schema(description = "成品不良数量")
    @ExcelProperty("成品不良数量")
    private BigDecimal cpDefectNum;


    @Schema(description = "成品库数量(良品数量)")
    @ExcelProperty("成品库数量(良品数量)")
    private BigDecimal finishedProductNum;

    @Schema(description = "单圈最大量")
    @ExcelProperty("单圈最大量")
    private String maximumQuantity;

    @Schema(description = "计划量")
    @ExcelProperty("计划量")
    private Integer plannedQuantity;

    @Schema(description = "计划量备注")
    @ExcelProperty("计划量备注")
    private String notes;

    @Schema(description = "来货日期")
    @ExcelProperty("来货日期")
    private LocalDateTime goodDate;

    @Schema(description = "差异类型", example = "1")
    @ExcelProperty("差异类型")
    private String differenceType;

    @Schema(description = "交货日期")
    @ExcelProperty("交货日期")
    private LocalDateTime deliveryDate;
    @Schema(description = "剩余数量")
    private String syNum;

    @Schema(description = "下发批次号")
    @ExcelProperty("下发批次号")
    private String issuedBatchNumber;

    @Schema(description = "是否下发：1否2是")
    @ExcelProperty("是否下发：1否2是")
    private Integer issued;
    @Schema(description = "下发时间")
    private LocalDateTime issuedTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
